﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine.InputSystem;
using UnityEngine;

namespace BlockOS.Client
{
    public abstract class BaseInputActionMapWindow : Window
    {
        [SerializeField]
        protected InputActionMap inputs;

        public override void OnForeground()
        {
            inputs.Enable();
        }

        public override void OnBackground()
        {
            inputs.Disable();
        }

        public override abstract void OnHide();
        public override abstract void OnShow();
    }
}
